<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>API-TEST BY POPTSER</title>
</head>
<body>
<H1 style="font-weight: bold;font-family: '微软雅黑';text-align: center">API-TEST BY POPTSER</H1>
<br>
    <form action="{:U('Index/cg')}" method="post" enctype="multipart/form-data" >
        <select name="supplier_id" style="height: 30px;width: 300px;">
            <volist name="warehouse_supplier" id="company">
            <option value="{$company.id}">{$company.name}</option>
            </volist>
        </select>
        <br/>
        <input style="height: 30px;width: 300px;" type="text" name="purchase_documents_pic" value="" placeholder="图片地址，填写一个服务器的地址" required>
        <br/>
        <input style="height: 30px;width: 300px;" type="text" name="documents_remark" value="" placeholder="采购备注（可选）" required>
        <br/>
        <div style="width: 200px;height: 200px;background: #00677b">
            在此选择文件
            <input type="file" name="upload_file" style="height: 30px;width: 300px;" required>
        </div>

        <input  type="submit" value="submit" style="width: 100%;height: 50px;font-size: 24px;">
    </form>
</body>
</html>